Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rover: null check for unconfigured RCMAP_YAW #11820

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

magicrub
Copy link
Contributor

This will fix vehicles configured with RCMAP_YAW = 0 which causes an insta-crash on boot due to unused channels being assigned as nullptr. Yaw (lateral) is optional for several vehicle types, however steering and throttle is universal so if those aren't configured you'll have other major problems.

Likely a different fix should be done globally for all channels and all vehicles.

This is a good candidate to backport to a Rover release.

@magicrub
Copy link
Contributor Author

This was briefly talked about at the last devcall so I'll tag it again so we can talk about a better all-vehicle all-channel solution

@tridge tridge merged commit 692bf1c into ArduPilot:master Jul 22, 2019
@magicrub magicrub deleted the pr/rover_channel_lateral_nullptr branch December 3, 2020 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants